package com.imageflowpro.image_flow_pro.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单主表
 * </p>
 *
 * @author 张家浩
 * @since 2025-05-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("media_order")
public class MediaOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 所属用户ID
     */
    private Long userId;

    /**
     * 订单类型
     */
    private String orderType;

    /**
     * 对应system_config中的状态码
     */
    private Integer currentStatus;

    /**
     * 最后修改人ID
     */
    private Long lastModifiedBy;

    /**
     * 是否有效
     */
    private Boolean isValid;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;


}
